package xinxin.com.TemplateMethodPattern;

import xinxin.com.TemplateMethodPattern.TestPaper.TestPaper;
import xinxin.com.TemplateMethodPattern.TestPaper.TestPaperDetail.TestPaperA;
import xinxin.com.TemplateMethodPattern.TestPaper.TestPaperDetail.TestPaperB;

public class TemplateMethodPattern {
    public static void main(String[] args) {
        System.out.println("学生甲抄的试卷：");
        TestPaper studentA = new TestPaperA();
        studentA.TestQuestion1();
        studentA.TestQuestion2();
        studentA.TestQuestion3();
        System.out.println("学生乙抄的试卷：");
        TestPaper studentB = new TestPaperB();
        studentB.TestQuestion1();
        studentB.TestQuestion2();
        studentB.TestQuestion3();
    }
}
